package com.yhf.mapper;

import com.yhf.bean.LoginForm;
import com.yhf.bean.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {
    Student login(LoginForm loginForm);

    int updatePassword(Student student);

    List<Student> getStudentList(Student student);

    Student findByName(String name);

    int addStudent(Student student);

    int updateStudent(Student student);

    int deleteStudent(Integer[] ids);
}
